$OpenBSD: patch-services_storage_test_CMakeLists_txt,v 1.1 2013/12/08 19:13:33 zhuk Exp $
Fix linking.
--- services/storage/test/CMakeLists.txt.orig	Tue Nov  5 18:55:51 2013
+++ services/storage/test/CMakeLists.txt	Tue Nov  5 18:58:18 2013
@@ -34,20 +34,20 @@ qt4_add_dbus_adaptor(DMTEST
 kde4_add_library( datamanagementtestlib STATIC ${DMTEST} )
 
 target_link_libraries( datamanagementtestlib
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KIO_LIBS}
-  ${KDE4_SOLID_LIBS}
   nepomukcore
+  ${KDE4_SOLID_LIBS}
+  ${KDE4_KIO_LIBS}
+  ${SOPRANO_LIBRARIES}
 )
 
 kde4_add_unit_test(classandpropertytreetest
   classandpropertytreetest.cpp
 )
 target_link_libraries(classandpropertytreetest
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KDECORE_LIBS}
   datamanagementtestlib
+  ${KDE4_KDECORE_LIBS}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
 
 kde4_add_unit_test(datamanagementmodeltest
@@ -55,12 +55,12 @@ kde4_add_unit_test(datamanagementmodeltest
 )
 
 target_link_libraries(datamanagementmodeltest
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KIO_LIBS}
-  ${KDE4_SOLID_LIBS}
-  nepomukcore
   datamanagementtestlib
+  nepomukcore
+  ${KDE4_SOLID_LIBS}
+  ${KDE4_KIO_LIBS}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
 
 kde4_add_unit_test(datamanagementmodelbenchmark
@@ -68,12 +68,12 @@ kde4_add_unit_test(datamanagementmodelbenchmark
 )
 
 target_link_libraries(datamanagementmodelbenchmark
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KIO_LIBS}
-  ${KDE4_SOLID_LIBS}
-  nepomukcore
   datamanagementtestlib
+  nepomukcore
+  ${KDE4_SOLID_LIBS}
+  ${KDE4_KIO_LIBS}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
 
 kde4_add_unit_test(datamanagementadaptortest
@@ -81,13 +81,13 @@ kde4_add_unit_test(datamanagementadaptortest
 )
 
 target_link_libraries(datamanagementadaptortest
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KDECORE_LIBS}
-  ${KDE4_KIO_LIBS}
-  ${KDE4_SOLID_LIBS}
-  nepomukcore
   datamanagementtestlib
+  nepomukcore
+  ${KDE4_SOLID_LIBS}
+  ${KDE4_KIO_LIBS}
+  ${KDE4_KDECORE_LIBS}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
 
 
@@ -96,11 +96,11 @@ kde4_add_unit_test(identificationtest
 )
 
 target_link_libraries(identificationtest
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${KDE4_KDECORE_LIBS}
-  nepomukcore
   datamanagementtestlib
+  nepomukcore
+  ${KDE4_KDECORE_LIBS}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
 
 kde4_add_executable(resourcewatchertest
@@ -108,13 +108,12 @@ kde4_add_executable(resourcewatchertest
 )
 
 target_link_libraries(resourcewatchertest
-  ${QT_QTTEST_LIBRARY}
-  ${SOPRANO_LIBRARIES}
-  ${SOPRANO_SERVER_LIBRARIES}
-  ${KDE4_KDECORE_LIBS}
-  ${KDE4_KIO_LIBS}
-  ${KDE4_SOLID_LIBS}
-  nepomukcore
-
   datamanagementtestlib
+  nepomukcore
+  ${KDE4_SOLID_LIBS}
+  ${KDE4_KIO_LIBS}
+  ${KDE4_KDECORE_LIBS}
+  ${SOPRANO_SERVER_LIBRARIES}
+  ${SOPRANO_LIBRARIES}
+  ${QT_QTTEST_LIBRARY}
 )
